package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("base_store_house")
public class BaseStoreHouseEntity implements Serializable {
    @ApiModelProperty("仓库Id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("部门Id")
    private Integer deptId;

    @TableField(exist = false)
    @ApiModelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("仓库名称")
    private String wareHouseName;

    @ApiModelProperty("仓库编号")
    private String wareHouseCode;

    @ApiModelProperty("仓库类型")
    private String wareHouseType;

    @ApiModelProperty("租凭时间")
    private Date leaseTime;

    @ApiModelProperty("仓库地址")
    private String address;

    @ApiModelProperty("仓库面积")
    private String acreage;

    @ApiModelProperty("联系人")
    private String contactsBy;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("0:禁用 1:正常")
    private Integer status;

    @ApiModelProperty("0:默认 1:正常")
    private Integer defaultStore;

    @ApiModelProperty("作用")
    private String remark;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private Integer createBy;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

    @ApiModelProperty("修改人")
    private Integer modifyBy;
}
